package com.songshuai.webapi.permission.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel(value="角色菜单增加实体")
@Data
public class RoleNavigationsAddDto {

    @NotNull(message = "菜单Id不能为空")
    @ApiModelProperty(value="菜单ID列表",required = true)
    private List<Integer> navigationIdList;

    @NotNull(message = "角色Id不能为空")
    @ApiModelProperty(value="角色ID",required = true)
    private Integer roleId;

    
}
